package com.fanfan.SmartPensionSystembackend.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("bed")
public class Bed {
    @TableId("bedId")  // 明确主键列名为 bedId
    private String bedId;

    @TableField("bedNo")  // 数据库列名为 bedNo
    private String bedNo;

    @TableField("buildingNo")
    private String buildingNo;

    @TableField("roomNo")
    private String roomNo;

    @TableField("floorNo")
    private String floorNo;

    @TableField("status")
    private String status;

    @TableField("gender")
    private String gender;

    @TableField("price")
    private Integer price;

    @TableField("bedPlace")
    private String bedPlace;

}